<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-proInfo-edit" th:object="${proInfo}">
            <input id="proId" name="proId" th:field="*{proId}"  type="hidden">
            <div class="form-group">	
                <label class="col-sm-3 control-label">项目编号：</label>
                <div class="col-sm-8">
                    <input id="proSn" name="proSn" th:field="*{proSn}" class="form-control" type="text" readonly="readonly">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">公司项目编号：</label>
                <div class="col-sm-8">
                    <input id="proSelfSn" name="proSelfSn" th:field="*{proSelfSn}" class="form-control" type="text" readonly="readonly">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">项目名称：</label>
                <div class="col-sm-8">
                    <input id="proName" name="proName" th:field="*{proName}" class="form-control" type="text" readonly="readonly">
                </div>
            </div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">所属机构：</label>
                <div class="col-sm-8">
                    <input id="proDept" name="proDept" th:field="*{proDept}" class="form-control" type="text" readonly="readonly">
                </div>
            </div>
            <div class="form-group">
				<label class="col-sm-3 control-label">项目周期： </label>
				<div class="col-sm-8 form-inline select-month">
						<input type="text" class="form-control time-input" id="startTime" placeholder="开始日期" name="params[beginTime]" th:value="${#dates.format(proInfo.proStdt, 'yyyy-MM')}" />
						<span class="form-control text-center" style="border:0;">至</span>
						<input type="text" class="form-control time-input" id="endTime" placeholder="结束日期" name="params[endTime]" th:value="${#dates.format(proInfo.proEddt, 'yyyy-MM')}"/>
				</div>
			</div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">项目类型：</label>
                <div class="col-sm-8">
					<select id="proType" class="form-control m-b" th:with="type=${@dict.getType('pm_project_type')}">
	                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"  th:field="*{proType}"></option>
	                </select>
				</div>
            </div>
            <div class="form-group">	
				<label class="col-sm-3 control-label">项目状态：</label>
				<div class="col-sm-8">
					<select id="proSta" class="form-control m-b" th:with="type=${@dict.getType('pm_project_status')}">
	                    <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"  th:field="*{proSta}"></option>
	                </select>
				</div>
			</div>
            <div class="form-group">	
                <label class="col-sm-3 control-label">人月数：</label>
                <div class="col-sm-8">
                    <input id="proWl" name="proWl" th:field="*{proWl}" class="form-control" type="text" readonly="readonly">
                </div>
            </div>
            <div class="form-group">	
				<label class="col-sm-3 control-label">订单名称：</label>
				<div class="col-sm-8">
					<select id="ctrId" name="ctrId" class="form-control m-b" th:with="type=${@CtrInfoServiceImpl.selectCtrsBySta('0')}">
						<option th:each="dict : ${type}" th:text="${dict.ctrName}" th:value="${dict.ctrId}" th:field="*{ctrId}"></option>
					</select>
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
</body>
</html>
